projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f7d04
)
Better fix for KML entity escaping.
author
robertl
<robertl>
Mon, 19 Jul 2010 23:48:07 +0000
(23:48 +0000)
committer
robertl
<robertl>
Mon, 19 Jul 2010 23:48:07 +0000
(23:48 +0000)
kml.c
patch
|
blob
|
history
diff --git
a/kml.c
b/kml.c
index 63ed9921615987e3e98dd1b53d0a0491fdf953b4..4ddc63174d60609235c0ccee6ec3fa584c4f727c 100644
(file)
--- a/
kml.c
+++ b/
kml.c
@@
-414,7
+414,7
@@
kml_write_xmle(const char *tag, const char *fmt, ...)
needs_escaping = 1;
gbfprintf(ofd, "<%s>", tag);
if (needs_escaping) gbfprintf(ofd, "<![CDATA[");
- gbvfprintf(ofd,
fm
t, args);
+ gbvfprintf(ofd,
tmp_en
t, args);
if (needs_escaping) gbfprintf(ofd, "]]>");
gbfprintf(ofd, "</%s>\n", tag);
xfree(tmp_ent);